<!--<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
		//getElementByTagName
			window.onload = function(){C
				
//				var aBox = document.getElementsByTagName("div");
//				console.log(aBox);//返回的是数组
//				console.log(aBox.length);
//				console.log(aBox[0]);

			//li
//			var aList = document.getElementsByTagName("li");
//			console.log(aList.length);
//			console.log(aList[0].innerHTML);
//			console.log(aList.item(2).innerHTML);

			};
		</script>
	</head>
	<body>
		<div id="box"></div>
		<div id="box1"></div>
		<ul>
			<li>1</li>
			<li>2</li>
			<li>3</li>
			<li>4</li>
		</ul>
	</body>
</html>-->
